3 subject="""comment 6"""
4 date="2021-07-12T15:42:52Z"
6 Almost anything can be argued to reflect the nature of some repo in some way.
7 That's not a useful criteria.
9 And the same could be argued about many git configs, and of course they
10 cannot be set globally, and noone is bothered much by this, because we can
11 all arrange for git configs to be set after cloning a repo.
13 I don't know what the right criteria is, but I do know I don't want to
14 force users to have to worry about overriding every possible config locally
15 because it's been set globally. git-annex should not behave in a near infinity
16 of different ways in clones of different repos, because that would make its
17 starting behavior impossible to understand.
19 So the more there are requests for more global configs, the more it seems
20 like adding any global configs, without a strong criteria, is not a good
23 Some global configs that do make sense are numcopies and required copies
24 settings, because those values need to be coordinated globally to make sure
25 enough copies are preserved. Similarly, preferred content because one
26 repo needs to know what is preferred content of another repo. And I think
27 annex.securehashesonly makes sense as a global, to avoid adding files
28 with insecure hashes that would then not be accessible in repos with
29 that config set. annex.largefiles mostly makes sense because .gitattributes
30 has a whitespace problem which it avoids, and it's similar to using
31 .gitattributes (although not identical). It feels on the edge.
33 annex.synccontent etc are explicitly about changing the default behavior
34 of a command. At the moment I feel like they were a bad idea.